GOPATH:=$(shell go env GOPATH)

.PHONY: build
build:
	CGO_ENABLED=0 go build -o m-gomicro-gin -v *.go

.PHONY: test
test:
	go test -v ./... -cover

.PHONY: docker
docker:
	docker build . -t m-gomicro-gin:latest

.PHONY: clean
clean:
	rm m-gomicro-gin


